﻿namespace battlenet.wow.rt.domain.objects
{
    public class Spell
    {
        /// <summary>
        /// Gets or sets the identifier.
        /// </summary>
        /// <value>
        /// The identifier.
        /// </value>
        public int Id { get; set; }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>
        /// The name.
        /// </value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the icon.
        /// </summary>
        /// <value>
        /// The icon.
        /// </value>
        public string Icon { get; set; }

        /// <summary>
        /// Gets or sets the icon link.
        /// </summary>
        /// <value>
        /// The icon link.
        /// </value>
        public string IconLink { get { return Icon == null ? null : string.Format(ApplicationConstants.IconHost, Icon); } }

        /// <summary>
        /// Gets or sets the description.
        /// </summary>
        /// <value>
        /// The description.
        /// </value>
        public string Description { get; set; }

        /// <summary>
        /// Gets or sets the cast time.
        /// </summary>
        /// <value>
        /// The cast time.
        /// </value>
        public string CastTime { get; set; }
    }
}